package day15.tarena.homework2;

public abstract class A{
	
		  public static void f() {
			  	System.out.println("A");
		  }
		
		  public static void main(String[] args) {
		    A b = new B();
		    b.f();
		    B.f();
		
		    A c = new C();
		    c.f();
		    C.f();
		  }
	}
	
class B extends A{
		  public static void f() {
			  	System.out.println("B");
		  }
	}
		
class C extends A{
		  public static void f(){
			  	System.out.println("C");
		  }
	}

